Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CR adjoint for logdet(::Cholesky) #1226

Merged
merged 4 commits into from
Jun 20, 2022
Merged

Conversation

devmotion
Copy link
Collaborator

Once JuliaDiff/ChainRules.jl#613 is merged, the Zygote adjoint for logdet(::Cholesky) can be removed. (FYI the CR PR also adds a rule for det(::Cholesky) and hence fixes some existing issues since no such rule exists in Zygote.)

Unfortunately, using this CR rule requires updating the Julia compat entry from 1.3 to 1.6. According to the RegistryCI docs a patch release may not narrow the compat range for Julia. Hence you might want to postpone this PR until the next breaking release of Zygote.

@devmotion
Copy link
Collaborator Author

The CR PR was merged, so this PR is ready.

@CarloLucibello CarloLucibello merged commit 3239330 into FluxML:master Jun 20, 2022
@devmotion devmotion deleted the patch-1 branch June 20, 2022 10:21
@mcabbott mcabbott added the ChainRules adjoint -> rrule, and further integration label Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ChainRules adjoint -> rrule, and further integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants